home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
TURBOPASCAL WIN
/
OWLDEMOS.PAK
/
OLESERVR.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-06-08
|
1KB
|
46 lines
{***************************************************}
{ }
{ Turbo Pascal for Windows }
{ Windows 3.1 OLE Server Demonstration Program }
{ Main Program Unit }
{ }
{ Copyright (c) 1992 by Borland International }
{ }
{***************************************************}
program OleSrvApp;
{ This program demonstrates the development of an OLE
Server application. It supports a simple 'document'
consisting of a shape (selectable as either a rectangle,
circle, or triangle) which can be pasted or linked into
an OLE Client (such as the OLE Client demo program, or
Word for Windows).
}
{ NOTE: The order in which units appear in this statement is
significant: some units require this compilation order.
}
{ Note: To compile the OLE Server demo, set Compile|Primary File to OLESERVR.PAS
}
uses Strings, WinTypes, WinProcs, WObjects, Ole, CommDlg, ShellAPI, BWCC,
OleTypes, OleObj, Server, OleApp;
{$R OLESERVR.RES}
{ Global Variables }
var
App: TOleApp;
{ Main program }
begin
App.Init(DemoTitle);
App.Run;
App.Done;
end.